<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .container {
            display: flex;
            width: 500px;
            height: 500px;
            background-color: orange;
        }
        
        .item {
            /* width: 120px; */
            /* 基础宽度 很少用 会拉伸英文的时候 */
            flex-basis: 120px;
            height: 120px;
            /* margin: 0 10px; */
        }
        
        .item1 {
            /* height: 50px; */
            background-color: red;
        }
        
        .item2 {
            background-color: gray;
            /* height: 80px; */
        }
        
        .item3 {
            background-color: blue;
            /* font-size: 50px; */
        }
        
        .item4 {
            /* height: 70px; */
            background-color: purple;
        }
        
        .item5 {
            background-color: green;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="item item1">1</div>
        <div class="item item2">2我是why_code_huanghang</div>
        <div class="item item3">3</div>

    </div>
</body>

</html>